import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import {MdInputModule,MdButtonModule, MdCheckboxModule,MdDialogModule} from '@angular/material';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
import { FormsModule } from '@angular/forms';
import { HttpModule, JsonpModule,URLSearchParams } from '@angular/http';

import {AppRoutingModule} from "./app-routing.module";
import { AppComponent} from './app.component';
import { SucComponent } from './suc/suc.component';
import { FooterComponent } from './footer/footer.component';
import { HeaderComponent } from './header/header.component';
import { SignComponent } from './sign/sign.component';
import { PictrueComponent } from './pictrue/pictrue.component';

import { UserService}from './sign/user.service';
import { Service}from './sign/service';
@NgModule({
  declarations: [
    AppComponent,
    SucComponent,
    FooterComponent,
    HeaderComponent,
    SignComponent,
    PictrueComponent


  ],
  imports: [
    BrowserModule,
    MdButtonModule,
    MdCheckboxModule,
    MdInputModule,
    BrowserAnimationsModule,
    RouterModule,
    FormsModule,
    AppRoutingModule,
    MdDialogModule,
    HttpModule,
    RouterModule,
    JsonpModule

  ],
  providers: [
    AppComponent,
    UserService,
    Service
],
entryComponents:[
  PictrueComponent,
],
  bootstrap: [AppComponent],
  exports:[PictrueComponent]
})
export class AppModule { }
